﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Core.CurrentFramework.Repository.Migrations
{
    public partial class updatepwd : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "FUserPwd",
                table: "UsersInfo",
                nullable: false,
                oldClrType: typeof(string),
                oldType: "nvarchar(20)",
                oldMaxLength: 20);

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 3,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 833, DateTimeKind.Local).AddTicks(9298));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 4,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 836, DateTimeKind.Local).AddTicks(6));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 5,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 836, DateTimeKind.Local).AddTicks(94));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 6,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 836, DateTimeKind.Local).AddTicks(98));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 7,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 836, DateTimeKind.Local).AddTicks(101));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 8,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 16, 18, 9, 836, DateTimeKind.Local).AddTicks(103));
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "FUserPwd",
                table: "UsersInfo",
                type: "nvarchar(20)",
                maxLength: 20,
                nullable: false,
                oldClrType: typeof(string));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 3,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 87, DateTimeKind.Local).AddTicks(5439));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 4,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 89, DateTimeKind.Local).AddTicks(5886));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 5,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 89, DateTimeKind.Local).AddTicks(5967));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 6,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 89, DateTimeKind.Local).AddTicks(5970));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 7,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 89, DateTimeKind.Local).AddTicks(5973));

            migrationBuilder.UpdateData(
                table: "Users",
                keyColumn: "id",
                keyValue: 8,
                column: "Birthday",
                value: new DateTime(2020, 3, 21, 13, 31, 21, 89, DateTimeKind.Local).AddTicks(5975));
        }
    }
}
